package com.quanyan.messagepush.entity;

/**
 * Created by zhuo.shi on 2016/7/15.
 */
public class Payload {

    private Integer boxType;    //盒子类型
    private Integer msgType;    //消息类型
    private Integer subType;    //消息子类型

    private String title;       //消息标题
    private String body;        //消息内容
    private String img;         //头像/图标的URL地址
    private String nickname;    //用户的昵称或俱乐部名称
    private String url;         //点击消息请求的URL地址
    private Long timestamp;     //消息发送时间(毫秒)
    private Object extend;      //扩展信息

    private Object notify;      //通知消息
    private Operation operation;//操作消息
    private Jump jump;          //跳转消息

    private NewBody newBody;  // 推送消息的消息体 (2.5之后的版本解析此字段)

    public Integer getBoxType() {
        return boxType;
    }

    public void setBoxType(Integer boxType) {
        this.boxType = boxType;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public Integer getSubType() {
        return subType;
    }

    public void setSubType(Integer subType) {
        this.subType = subType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getExtend() {
        return extend;
    }

    public void setExtend(Object extend) {
        this.extend = extend;
    }

    public Object getNotify() {
        return notify;
    }

    public void setNotify(Object notify) {
        this.notify = notify;
    }

    public Operation getOperation() {
        return operation;
    }

    public void setOperation(Operation operation) {
        this.operation = operation;
    }

    public Jump getJump() {
        return jump;
    }

    public void setJump(Jump jump) {
        this.jump = jump;
    }

    public NewBody getNewBody() {
        return newBody;
    }

    public void setNewBody(NewBody newBody) {
        this.newBody = newBody;
    }
}
